//
//  DispatchBillModel.swift
//  ZNHXManagement
//
//  Created by 四川中农 on 2018/10/9.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import Foundation
import HandyJSON

struct DispatchBillModel:HandyJSON {
    var number = ""
    var orders = [OrdersModel]()
}

struct OrdersModel:HandyJSON {
    var address = "";
    var commentNum = 3;
    var conName = "";
    var conPhone = "18368190415";
    var couponId = 0;
    var couponMoney = 0;
    var createTime = "2018-10-08 10:47:37";
    var endTime = "2018-10-08 12:47:37";
    var id = 87;
    var invoiceId = 32;
    var isPrint = 0;
    var modifyTime = "2018-10-08 10:47:36";
    var money = "70.02";
    var number = "201810081047369";
    var packageNumber = "1002";
    var payTime = "";
    var printTime = "";
    var remarks = "";
    var state = 1;
    var userId = 9;
    var villageId = 8;
    var goods = [GoodsModel]()
}

struct GoodsModel:HandyJSON {
    var activityDesc = "";
    var cartNum = "";
    var createTime = "";
    var discountDesc = "";
    var id = 17;
    var img = "";
    var isComment = 0;
    var isDiscount = 0;
    var marketPrice:Double = 90;
    var modifyTime = "";
    var name = "";
    var num = "1";
    var orderId = 87;
    var price = 70;
    var smallTypeId = "";
    var spec = "";
    var specDesc = "";
    var specId = "";
    var state = 0;
    var video = "";
}












